<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8" isELIgnored="false"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html>
		<!-- 商品搜索区 -->
		<div class="container-fluid">
			<div class="row">
				<form class="form-inline" method="POST" action="${pageContext.request.contextPath}/product/findAll.do?pageNum=0">
					<div class="form-group col-xs-3">
						<label >商品编号</label>
						<input type="text" class="form-control" placeholder="输入商品编号" name="productNum">
					</div>
					<div class="form-group col-xs-3">
						<label for="exampleInputName2">商品名称</label>
						<input type="text" class="form-control" id="exampleInputName2" placeholder="输入商品名称" name="productName">
					</div>
					<div class="form-group col-xs-3">
						<label>商品价格</label>
						<input type="number" class="form-control" style="width: 80px;" name="lowPrice">
						----------
						<input type="number" class="form-control" style="width: 80px;" name="highPrice">
					</div>
					<div class="form-group col-xs-2">
						<label for="name">商品类别</label>
						<select class="form-control" name="categoryId">
							<option value="0" selected>全部</option>
							<c:forEach items="${categoryList}" var="category">
								<option value="${category.categoryId}">${category.categoryName}</option>
							</c:forEach>
						</select>
					</div>
					<button type="submit" class="btn btn-success ">查询</button>
				</form>
			</div>
		</div>
		<hr />